<@cms_custom_from code="contactus">
  <form id="form_contactus" action="">
  <@cms_xmodel_field modelid="customForm.modelId">
    <#list DataList as field>
      <#if field.controlType == 'input'>
      ${field.name}: <input type="text" id="${field.code}" />
      </#if>
    </#list>
  </@cms_xmodel_field>
  <input type="submit" value="提交"> 
  </form>
</@cms_custom_from>